Templates for Toffoli Network Synthesis
نویسندگان
چکیده
Reversible logic functions can be realized as networks of Toffoli gates. The synthesis of To oli networks can be divided into two steps. First, nd a network that realizes the desired function is determined. Second, transform the network such that it uses fewer gates, while realizing the same function. This paper addresses the second step. Transformations are accomplished via template matching. The basis for a template is a network with m gates that realizes the identity function. If a sequence in the network to be synthesized matches more than half of a template, then a transformation reducing the gate count can be applied. All templates for m 7 are described in this paper.
منابع مشابه
Template Matching with Ranking for Toffoli Circuits
Circuit realizations generated by reversible logic synthesis approaches may not be optimal, thus it is common to apply post-synthesis optimization techniques. This paper proposes an algorithm that uses a ranking system for identifying the best match with circuitreduction templates. These templates incorporate both positive and negative control Toffoli gates. A reduction in quantum cost was achi...
متن کاملQuantum Circuit Simplification Using Templates
The synthesis of quantum circuits is a complex problem even for circuits with a small number of lines. At present, optimal synthesis is intractable and heuristic methods must be employed. In this paper, we consider the use of templates to simplify a quantum circuit initially found by other means. The templates tool presented here is a general approach to reversible and quantum circuit simplific...
متن کاملTemplates for Positive and Negative Control Toffoli Networks
This paper proposes templates for positive and negative control Toffoli gates for post synthesis optimization of reversible circuits. Templates 1 − 5 can be applied to two adjacent Toffoli gates T1(C1, t1) and T2(C2, t2) where Ci is the set of controls, |C1| = |C2|, and |t1| = |t2|. Templates 6−7 can be applied to two different size Toffoli gates T1(C1, t1) and T2(C2, t2) where Ci is the set of...
متن کاملBuilding Toffoli Network for Reversible Logic Synthesis Based on Swapping Bit Strings
In this paper, we have implemented and designed a sorting network for reversible logic circuits synthesis in terms of n*n Toffoli gates. The algorithm presented in this paper constructs a Toffoli Network based on swapping bit strings. Reduction rules are then applied by simple template matching and removing useless gates from the network. Random selection of bit strings and reduction of control...
متن کاملAsymptotically Optimal Regular Synthesis of Reversible Logic Networks
We propose a network of generalized Toffoli gates with multiple EXORs for the realization of reversible functions. If implemented as a quantum circuit, the cost of such gates is shown to be only marginally higher than the cost of a Toffoli gate with a single EXOR and the same number of controls. The main result is a regular synthesis procedure which allows for the creation of asymptotically opt...
متن کامل